package com.tale.competition.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author tale
 * @since 2020-02-16
 */
@TableName("sys_record")
@ApiModel(value="Record对象", description="")
public class Record implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "student_no", type = IdType.AUTO)
    private String studentNo;

    private String studentName;

    private String classNo;

    @ApiModelProperty(value = "旷课次数")
    private Integer truancy;

    @ApiModelProperty(value = "早退次数")
    private Integer early;

    @ApiModelProperty(value = "迟到次数")
    private Integer late;

    @ApiModelProperty(value = "请假次数")
    private Integer leaved;

    @ApiModelProperty(value = "正常次数")
    private Integer normal;


    public String getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getClassNo() {
        return classNo;
    }

    public void setClassNo(String classNo) {
        this.classNo = classNo;
    }

    public Integer getTruancy() {
        return truancy;
    }

    public void setTruancy(Integer truancy) {
        this.truancy = truancy;
    }

    public Integer getEarly() {
        return early;
    }

    public void setEarly(Integer early) {
        this.early = early;
    }

    public Integer getLate() {
        return late;
    }

    public void setLate(Integer late) {
        this.late = late;
    }

    public Integer getLeaved() {
        return leaved;
    }

    public void setLeaved(Integer leaved) {
        this.leaved = leaved;
    }

    public Integer getNormal() {
        return normal;
    }

    public void setNormal(Integer normal) {
        this.normal = normal;
    }

    @Override
    public String toString() {
        return "Record{" +
        "studentNo=" + studentNo +
        ", studentName=" + studentName +
        ", classNo=" + classNo +
        ", truancy=" + truancy +
        ", early=" + early +
        ", late=" + late +
        ", leaved=" + leaved +
        ", normal=" + normal +
        "}";
    }
}
